/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */
package cn.webrx;



import org.apache.commons.io.FilenameUtils;

import java.io.File;
import java.io.IOException;

/**
 * <p>Project: jse2302 - Ex6
 * <p>Powered by webrx On 2023-06-28 09:29:30
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Ex6 {
    public static void main(String[] args) throws IOException {
        //实现目录复制

        String path = "C:\\abc\\v11";
        //FileUtils.copyDir(new File(path), new File("d:/v14"));
        FileUtils.copyDir(new File(path), new File("d:/xxx/yyyy/v18"));

        //FileUtils.copyDirectory(new File(path),new File("d:/xxx/yyyy/v16"));
        //FileUtils.copyDirectory(new File(path),new File("d:/xxx/yyyy/v16"));


    }


}
